package com.cnap.multiclouldmgmt.model.k8sMonitorModels;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 监控或者算法需要的数据
 * @author dyq
 */
@ApiModel(value = "com.cnap.multiclouldmgmt.model.k8sMonitorModels.AlgReqModel",description = "算法所需要信息的请求")
public class AlgReqModel{

    //集群名称
    @ApiModelProperty(value = "集群中容器组总数")
    private List<String> k8sClusterNames;

    //namespace,String workdLoadName,String initStateFlag
    @ApiModelProperty(value = "namespace")
    private String namespace;

    //workdLoadName
    @ApiModelProperty(value = "workdLoadName")
    private String workdLoadName;

    //svcName
    @ApiModelProperty(value = "服务名称")
    private String svcName;

    //initStateFlag
    @ApiModelProperty(value = "initStateFlag")
    private Boolean initStateFlag;

    //创建者名称
    @ApiModelProperty(value = "userName")
    private String userName;

    //需要的节点的label类型
    @ApiModelProperty(value = "nodeAppType")
    private String nodeAppType;

    //需要的节点的label类型
    @ApiModelProperty(value = "区分cpu还是gpu")
    private String arch;

    /**
     * get
     *
     * @return K8sClusterNames
     */
    public List<String> getK8sClusterNames() {
        return k8sClusterNames;
    }

    /**
     * set
     *
     * @param k8sClusterNames k8sClusterNames
     */
    public void setK8sClusterNames(List<String> k8sClusterNames) {
        this.k8sClusterNames = k8sClusterNames;
    }

    /**
     * get
     *
     * @return Namespace
     */
    public String getNamespace() {
        return namespace;
    }

    /**
     * set
     *
     * @param namespace namespace
     */
    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    /**
     * get
     *
     * @return WorkdLoadName
     */
    public String getWorkdLoadName() {
        return workdLoadName;
    }

    /**
     * set
     *
     * @param workdLoadName workdLoadName
     */
    public void setWorkdLoadName(String workdLoadName) {
        this.workdLoadName = workdLoadName;
    }

    /**
     * get
     *
     * @return SvcName
     */
    public String getSvcName() {
        return svcName;
    }

    /**
     * set
     *
     * @param svcName svcName
     */
    public void setSvcName(String svcName) {
        this.svcName = svcName;
    }

    /**
     * get
     *
     * @return InitStateFlag
     */
    public Boolean getInitStateFlag() {
        return initStateFlag;
    }

    /**
     * set
     *
     * @param initStateFlag initStateFlag
     */
    public void setInitStateFlag(Boolean initStateFlag) {
        this.initStateFlag = initStateFlag;
    }

    /**
     * get
     *
     * @return UserName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * set
     *
     * @param userName userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * get
     *
     * @return NodeAppType
     */
    public String getNodeAppType() {
        return nodeAppType;
    }

    /**
     * set
     *
     * @param nodeAppType nodeAppType
     */
    public void setNodeAppType(String nodeAppType) {
        this.nodeAppType = nodeAppType;
    }
}
